package com.fuyao.cloud.asset.vo;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDate;

/**
 * 资产分类导出类
 *
 * @author lyhil
 * @date 2021/11/17
 */
@Data
@ColumnWidth(30)
@ApiModel(value = "合同管理导出类")
public class ContractExcelVO {

    @ExcelProperty(value = "合同名称")
    private String name;

    @ExcelProperty(value = "预算编号")
    private String budgetNumber;

    @ExcelProperty(value = "合同编号")
    private String contractId;

    @ExcelProperty(value = "供应商名称")
    private String supplierName;

    @ExcelProperty(value = "状态")
    private String status;

    @ExcelIgnore
    @ApiModelProperty(value = "类型")
    private String type;

    @ExcelProperty(value = "合同类型")
    private String contractType;

    @ExcelProperty(value = "签订地点")
    private String contractSignplace;

    @ExcelProperty(value = "签订时间")
    private LocalDate contractSigndate;

    @ExcelProperty(value = "生效时间")
    private LocalDate effectiveDate;

    @ExcelProperty(value = "结束时间")
    private LocalDate expirationDate;

    @ExcelProperty(value = "金额")
    private BigDecimal amount;

    @ExcelProperty(value = "签订人员名称")
    private String responsemanName;

    @ExcelProperty(value = "备注")
    private String remarks;

    @ExcelIgnore
    @ApiModelProperty(value = "条款")
    private String terms;

    @ExcelIgnore
    @ApiModelProperty(value = "年份")
    private Integer year;

    @ExcelIgnore
    @ApiModelProperty(value = "月份")
    private Integer month;
}
